<table>
    <tr>
        <th>选择</th>
        <foreach name="refer_fields" item="field">
        <th>{$field.title}</th>
        </foreach>
    </tr>
    <foreach name="refer_list" item="item">
        <tr>
            <td><input type="checkbox" name="{$refer_field_name}[{$item.id}]" id="" {$item.is_checked}></td>
            <foreach name="refer_fields" item="field">
            <td><?php echo $item[$field["name"]]; ?></td>
            </foreach>
        </tr>
    </foreach>
</table>
